package com.leonzx.base.entity.email;

import com.leonzx.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @Author:chen
 * @Description:
 * @Date: 2018-07-10 11:25
 */
@Table(name = "base_mail_file")
public class MailFile extends BaseEntity {
    @Column(name = "file_id")
    private String fileId;
    @Column(name = "mail_history_id")
    private String mailHistoryId;


    /**
     * 传值
     */
    @Transient
    private String newFileName;
    @Transient
    private String oldFileName;
    @Transient
    private String filepath;
    @Transient
    private String serviceFilePath;

    public String getNewFileName() {
        return newFileName;
    }

    public void setNewFileName(String newFileName) {
        this.newFileName = newFileName;
    }

    public String getOldFileName() {
        return oldFileName;
    }

    public void setOldFileName(String oldFileName) {
        this.oldFileName = oldFileName;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public String getServiceFilePath() {
        return serviceFilePath;
    }

    public void setServiceFilePath(String serviceFilePath) {
        this.serviceFilePath = serviceFilePath;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getMailHistoryId() {
        return mailHistoryId;
    }

    public void setMailHistoryId(String mailHistoryId) {
        this.mailHistoryId = mailHistoryId;
    }
}
